home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 January / Macworld (1997-01).dmg / Shareware World / Info / CSMP Digest / CSMP Digest Vol 4 No 8.text < prev    next >
Text File  |  1996-10-12  |  55KB  |  1,482 lines

  1. C.S.M.P. Digest             Tue, 08 Oct 96       Volume 4 : Issue 8
  2.  
  3. Today's Topics:
  4.  
  5.         Advice on marketing new product: shareware or commercial?
  6.         Disabling Macsbug?
  7.         Drag Manager questions
  8.         Error in Technote 1069 confirmed
  9.         Font Editor
  10.         How to do scripting on a Mac?
  11.         MacODBC & CFM68K
  12.         MacOS 8 suggestion (Re: Disk space efficiency)
  13.         OpenDoc for Linux?
  14.         Renaming Files
  15.         Screensaver
  16.         Sprockets on 68K Macs?
  17.         Status of Printer Port? Busy, empty, availlble?
  18.         String Manipulation in Pascal
  19.         What to use on an old Mac ?
  20.         [ANN]  CodeWarrior 10 installation errata
  21.         [Q] Playing a sound with a loop back
  22.         getting INIT code to load from within the system file
  23.         long ints- help!
  24.         which book?
  25.  
  26.  
  27.  
  28. The Comp.Sys.Mac.Programmer Digest is moderated by Mark Aiken
  29. (marka@ee.mcgill.ca).
  30.  
  31. The digest is a collection of article threads from the internet
  32. newsgroups comp.sys.mac.programmer.help, csmp.tools, csmp.misc and
  33. csmp.games. It is designed for people who read news semi-regularly and
  34. want an archive of the discussions.  If you don't know what a
  35. newsgroup is, you probably don't have access to it. Ask your systems
  36. administrator(s) for details. If you don't have access to news, you
  37. may still be able to post messages to the group by using a mail server
  38. like anon.penet.fi (mail help@anon.penet.fi for more information).
  39.  
  40. Each issue of the digest contains one or more sets of articles (called
  41. threads), with each set corresponding to a 'discussion' of a particular
  42. subject.  The articles are not edited; all articles included in this digest
  43. are in their original posted form (as received by our news server at
  44. ee.mcgill.ca).  Article threads are not added to the digest until the last
  45. article added to the thread is at least two weeks old (this is to ensure that
  46. the thread is dead before adding it to the digest).  Article threads that
  47. consist of only one message are generally not included in the digest.
  48.  
  49. The digests can be obtained by email, ftp or through the World Wide Web.
  50.  
  51. If you want to receive the digest by mail, send email to 
  52. majordomo@ee.mcgill.ca with no subject and one of the following commands
  53. as body:
  54.  
  55.     help                        Sends you a summary of commands
  56.     subscribe csmp                      Adds you to the mailing list
  57.     unsubscribe csmp                    Removes you from the list
  58.  
  59. Once you have subscribed, you will automatically receive each new
  60. issue as it is created.
  61.  
  62. Back issues are available by ftp from Info-Mac mirror sites in the
  63. per/csmp subdirectory, e.g.
  64.  
  65.   ftp://sumex-aim.stanford.edu/info-mac/per/csmp/
  66.  
  67. The contents of all back issues can be searched by accessing the
  68. following URL, courtesy of Andrew Barry (ajbarry@ozemail.com.au):
  69.  
  70.     http://marvin.stattech.com.au/search.html
  71.  
  72. They can also be searched through the following URLs, thanks to
  73. Tim Tuck (Tim.Tuck@sensei.com.au):
  74.  
  75.     http://wais.sensei.com.au/searchform.html
  76.     wais://wais.sensei.com.au:210/csmp?
  77.  
  78. -------------------------------------------------------
  79.  
  80. >From azzy@io.com (Reuben King)
  81. Subject: Advice on marketing new product: shareware or commercial?
  82. Date: Wed, 18 Sep 1996 14:57:12 -0500
  83. Organization: None
  84.  
  85. Hi peoplez!
  86.  
  87. We are fixing to release a small little programming tool for a 4GL
  88. environment that basically replaces the built in editor of this
  89. environment..  It's a dinky little guy, but works real well.
  90.  
  91. Right now we are debating internally over whether or not it should be a
  92. commercial product or a shareware product.  Either way the price will be
  93. around $40.
  94.  
  95. My argument is for shareware.  In my days of computing, practically every
  96. 'dinky' little app/extension/whatever that became successful and widely
  97. used was marketed as shareware.  I've seen some SUPER utilities (like
  98. PopUpFolder, which I swear by) that are absolutely wonderful but are
  99. marketed as commercial software, and never amount to much of anything.
  100.  
  101. But, my bosses want return on their development efforts sooner rather than
  102. later (which can be understood).  but, personally, I feel that there would
  103. be greater long term exposure and benefit by marketing as shareware.
  104.  
  105. Any thoughts/experiences to share?
  106.  
  107. Thanks!
  108.  
  109.  
  110. +++++++++++++++++++++++++++
  111.  
  112. >From jayfar@netaxs.com (Jay Farrell)
  113. Date: Wed, 18 Sep 1996 18:23:05 -0400
  114. Organization: Jayfar's Web
  115.  
  116. In article <azzy-1809961457120001@news.onr.com>, azzy@io.com (Reuben King)
  117. wrote:
  118.  
  119. | Hi peoplez!
  120. | We are fixing to release a small little programming tool for a 4GL
  121. | environment that basically replaces the built in editor of this
  122. | environment..  It's a dinky little guy, but works real well.
  123. | Right now we are debating internally over whether or not it should be a
  124. | commercial product or a shareware product.  Either way the price will be
  125. | around $40.
  126. | My argument is for shareware.  In my days of computing, practically every
  127. | 'dinky' little app/extension/whatever that became successful and widely
  128. | used was marketed as shareware.  I've seen some SUPER utilities (like
  129. | PopUpFolder, which I swear by) that are absolutely wonderful but are
  130. | marketed as commercial software, and never amount to much of anything.
  131. | But, my bosses want return on their development efforts sooner rather than
  132. | later (which can be understood).  but, personally, I feel that there would
  133. | be greater long term exposure and benefit by marketing as shareware.
  134. | Any thoughts/experiences to share?
  135.  
  136. None, but I suggest you read:
  137.  
  138.     <URL:http://www.bungie.com/soapbox.html>
  139.  
  140. Distribution Myths and Lies by Alexander Seropian, CEO of Bungee Software. 
  141. Makes other than shareware distribution look like a real ugly business to
  142. say the least.
  143.  
  144. Say, that wouldn't be a new script editor for FMP, would it??  %-)  I'd
  145. happily pay $40 for that.
  146.  
  147. Cheers,
  148. Jayfar
  149.  
  150.    ////~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~////
  151.   ////   The Mops Page    <URL:http://www.netaxs.com/~jayfar/mops.html>    ////
  152.  ////~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~////
  153. ////   Mops is Mike Hore's freeware Forth/Smalltalk hybrid for Macintosh ////
  154. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155.   Jay Farrell     jayfar@netaxs.com        Philadelphia, Pennsylvania, USA
  156.  
  157. +++++++++++++++++++++++++++
  158.  
  159. >From msbishop@aol.com (Matt Bishop)
  160. Date: Wed, 25 Sep 1996 20:36:36 -0500
  161. Organization: Zippo
  162.  
  163. In article <azzy-1809961457120001@news.onr.com>, azzy@io.com (Reuben King)
  164. wrote:
  165.  
  166. > Hi peoplez!
  167. > We are fixing to release a small little programming tool for a 4GL
  168. > environment that basically replaces the built in editor of this
  169. > environment..  It's a dinky little guy, but works real well.
  170. > Right now we are debating internally over whether or not it should be a
  171. > commercial product or a shareware product.  Either way the price will be
  172. > around $40.
  173.  
  174. SHAREWARE for sure.  It is cheaper, faster, and more focused.  Your return
  175. will be higher without paying for all the boxes/distribution/retailer
  176. cut.  Just advertise it in trade mags/in newsgroups and distribute it from
  177. a website/info-mac.
  178.  
  179. We do pay our shareware fees, by the way.  The people who don't pay
  180. shareware fees are the same people that pirate software, so either way you
  181. don't get any revenue from them.
  182.  
  183. Netscape makes millions and millions off of their shareware product
  184. "Navigator."  Who is going to tell them they are making a mistake?
  185.  
  186. ---------------------------
  187.  
  188. >From david@interport.net (David)
  189. Subject: Disabling Macsbug?
  190. Date: 16 Sep 1996 02:07:56 -0400
  191. Organization: Interport Communications Corp.
  192.  
  193. Does anyone know how to prevent Macsbug from working in a program? I have
  194. seen this done (so that the interrupt switch just does nothing), and
  195. believe it has something to do with "interrupt vectors," but my
  196. understanding of these is low and so my capability to modify them is even
  197. less. A pointer to IM (didn't find it in a search) would be great, and if 
  198. anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  199. very much for your help!
  200.  
  201. David
  202.  
  203. +++++++++++++++++++++++++++
  204.  
  205. >From paulba19@mail.idt.net (Paul Baxter)
  206. Date: Mon, 16 Sep 1996 07:40:19 -0500
  207. Organization: IDT Corporation
  208.  
  209. In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  210.  
  211. > Does anyone know how to prevent Macsbug from working in a program? I have
  212. > seen this done (so that the interrupt switch just does nothing), and
  213. > believe it has something to do with "interrupt vectors," but my
  214. > understanding of these is low and so my capability to modify them is even
  215. > less. A pointer to IM (didn't find it in a search) would be great, and if 
  216. > anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  217. > very much for your help!
  218. > David
  219.  
  220. Hi,
  221.    One approach would be to change the trap address of _Debugger and
  222. _DebugStr to call your own routine using SetrapAddress (pretty sneaky!).
  223.  
  224. -- 
  225. Paul Baxter
  226. paulba19@mail.idt.net
  227.  
  228. +++++++++++++++++++++++++++
  229.  
  230. >From trumbull@cs.yale.edu (Ben Trumbull)
  231. Date: Mon, 16 Sep 1996 13:05:16 -0400
  232. Organization: Yale University
  233.  
  234. In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  235.  
  236. > Does anyone know how to prevent Macsbug from working in a program? I have
  237. > seen this done (so that the interrupt switch just does nothing), and
  238. > believe it has something to do with "interrupt vectors," but my
  239. > understanding of these is low and so my capability to modify them is even
  240. > less. A pointer to IM (didn't find it in a search) would be great, and if 
  241. > anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  242. > very much for your help!
  243. > David
  244.  
  245. Can't say I can contribute to the answer, but why ?  just why would you
  246. ever want to do this ?  (seriously, my imagination must be limited)
  247.  
  248. terminally curious,
  249.  
  250. Ben
  251. ___________________________________________________________________
  252. Benjamin Trumbull
  253. trumbull@cs.yale.edu       
  254. Yale University 
  255.        You can't be in hell; you can still read your e-mail
  256.  
  257. +++++++++++++++++++++++++++
  258.  
  259. >From bill@scconsult.com (Bill Stewart-Cole)
  260. Date: Tue, 17 Sep 1996 00:56:29 -0500
  261. Organization: ZOG
  262.  
  263. In article <trumbull-1609961305160001@net173-140.student.yale.edu>,
  264. trumbull@cs.yale.edu (Ben Trumbull) wrote:
  265.  
  266. >In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  267. >
  268. >> Does anyone know how to prevent Macsbug from working in a program? I have
  269. [...]
  270. >
  271. >Can't say I can contribute to the answer, but why ?  just why would you
  272. >ever want to do this ?  (seriously, my imagination must be limited)
  273.  
  274. It might be quite useful to make it harder for crackers to figure out
  275. exactly what is done in a copy-protection or serialization routine. 
  276.  
  277. I don't believe it is completely possible however. On some Macs, the
  278. programmer's switch invokes a hardware interrupt whose catch vector (or
  279. whatever they call it: the address to run from when the interrupt occurs)
  280. is stored in a cpu register. 
  281.  
  282. For software-mediated drops to MacsBug, which I think is always the case
  283. with PPC machines, it might be possible. However you would probably have
  284. to dig into the Motorola/IBM-reserved areas of low memory and figure out
  285. exactly what vector to clobber. You may not be able to do this at all.
  286.  
  287. In any case, you can bet on such code breaking under Copland, and possibly
  288. in some cases where VM is on.
  289.  
  290. -- 
  291. Bill Stewart-Cole
  292.  
  293. +++++++++++++++++++++++++++
  294.  
  295. >From Patrick.Stadelmann@etudiants.unine.ch (Patrick Stadelmann)
  296. Date: Tue, 17 Sep 1996 11:54:15 +0100
  297. Organization: University of Neuchatel
  298.  
  299. In article <trumbull-1609961305160001@net173-140.student.yale.edu>,
  300. trumbull@cs.yale.edu (Ben Trumbull) wrote:
  301.  
  302. > In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  303. > > Does anyone know how to prevent Macsbug from working in a program? I have
  304. > > seen this done (so that the interrupt switch just does nothing), and
  305. > > believe it has something to do with "interrupt vectors," but my
  306. > > understanding of these is low and so my capability to modify them is even
  307. > > less. A pointer to IM (didn't find it in a search) would be great, and if 
  308. > > anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  309. > > very much for your help!
  310. > > 
  311. > > David
  312. > Can't say I can contribute to the answer, but why ?  just why would you
  313. > ever want to do this ?  (seriously, my imagination must be limited)
  314.  
  315. Several software try to disable MacsBug for copy-protection purposes.
  316. This is supposed to make it harder to hack the program to have it work
  317. without a hardware key, for instance. But it also makes it more challenging
  318. and more interesting to hack...
  319.  
  320. Patrick
  321.  
  322. -- 
  323. Patrick Stadelmann <Patrick.Stadelmann@etudiants.unine.ch>
  324.  
  325. +++++++++++++++++++++++++++
  326.  
  327. >From mmucker@airmail.net (Matthew Mucker)
  328. Date: Tue, 17 Sep 1996 12:47:00 +0500
  329. Organization: Internet America
  330.  
  331. > > In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  332. > > 
  333. > > > Does anyone know how to prevent Macsbug from working in a program? I have
  334. > > > seen this done (so that the interrupt switch just does nothing), and
  335. > > > believe it has something to do with "interrupt vectors," but my
  336. > > > understanding of these is low and so my capability to modify them is even
  337. > > > less. A pointer to IM (didn't find it in a search) would be great, and if 
  338. > > > anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  339. > > > very much for your help!
  340.  
  341. I can't tell you specifics of how to do this, but I can tell you about
  342. interrupt vectors.  Maybe that would allow you to understand a little more
  343. about what's going on.
  344.  
  345. An "Interrupt" is a signal to the microprocessor.  If the computer is
  346. designed properly, when the microprocessor gets an interrupt signal, it
  347. stops doing whatever it is doing, and handles the interrupt.  Interrupts
  348. are used in situations where events must be handled RIGHT NOW-- one
  349. example would be in a serial port, where if the microprocessor did not
  350. read an incoming character, it would be overwritten by the next incoming
  351. character.  When the serial port receives a character, it generates an
  352. interrupt.  The microprocessor stops running whatever program it is
  353. running, receives the character from the serial port, resets the
  354. interrupt, and continues running the program it was running.
  355.  
  356. This, of course, is grossly oversimplified.  Now let's move up a level of
  357. complexity.
  358.  
  359. There are many systems on most computers that could generate an
  360. interrupt.  Virtually any I/O device, the screen refresh signal, and even
  361. little things like a programmer switch.
  362.  
  363. When a processor receives an interrupt, the first thing it must do is
  364. figure out which device is requesting the interrupt.  I am totally
  365. ignorant in this area as it applies to Motorola microprocessors, so we'll
  366. assume it just happens.  Let's say that the processor discovers the source
  367. of the interrupt is the programmer's swith.  It then looks up the routine
  368. it should execute for this particular interrupt.  It does this by way of
  369. "interrupt vectors"  that are usually stored in a "vector table."  I shall
  370. illustrate.
  371.  
  372. Let's say MyProcessor is capable of receiving eight different interrupts. 
  373. We'll call them interrupt 1, 2, 3... etc.  The processor is manufactured
  374. so that it's interrupt table starts at address $000A.  An interrupt table
  375. might look like this:
  376.  
  377. $000A  0A00 0B00 0C00 0D00 0E00 0F00 0010 0020
  378.  
  379. Which means that the byte stored at address $000A is $0A, the next byte is
  380. $00, the next is $0b, etc.
  381.  
  382. Now, when the processor gets an interrupt, it looks up the "vector" in the
  383. "table."  For interrupt 1, it looks at address $000A.  For interrupt 2, it
  384. looks at address $000C.  For interrupt 3, it looks at address $000E.  Et
  385. cetera.
  386.  
  387. The "vector" returned will be the address of the routine that will handle
  388. that particular interrupt.  For instance, for interrupt 6, the vector is
  389. stored at $0015.  The two bytes stored starting at this location are $0F
  390. and $00.  The processor would then jump to the routine at address $0F00
  391. and run that routine.
  392.  
  393. Again, this is oversimplified, and I may be making minor errors, but the
  394. theory is sound.
  395.  
  396. To disable the programmers switch, you must do several things.
  397.  
  398. 1) Write a machine-language routine that will return from an interrupt
  399. without doing anything.
  400.  
  401. 2) Store that routine in a particular place in memory.
  402.  
  403. 3) Tell the microprocessor not to allow any interruts to take place
  404.  
  405. 4) Point the programmers switch interrupt vector at your do-nothing routine.
  406.  
  407. 5) Turn the interrupts back on.
  408.  
  409. Now this sounds like a lot of work, but it really isn't so bad.  (Then
  410. again, all of my interrupt routines were written on a Commodore 64, which
  411. is where most of my theory above came from.  I may be oversimplifying.) 
  412. Steps 3 and 5 are necessary to prevent disaster should the user press the
  413. programmers switch while you are in the middle of altering the vector.  If
  414. you had changed one byte of the vector but not the other when the switch
  415. is pressed, Ka-BLAM-o!  The vector is pointing to an undefined routine,
  416. which more often than not causes your program to go down in a glorious
  417. blaze of flames.  (I am speaking figuratively and not literally.  A
  418. dangling vector will NOT cause your computer to combust.)
  419.  
  420. And that's what "interrupt vectors" are.
  421.  
  422. -Matt
  423.  
  424. -- 
  425. Life is 10% what happens to you, and 90% how you respond to what happens to you.
  426.  
  427. +++++++++++++++++++++++++++
  428.  
  429. >From trumbull@cs.yale.edu (Ben Trumbull)
  430. Date: Tue, 17 Sep 1996 16:51:05 -0400
  431. Organization: Yale University
  432.  
  433. In article <paulba19-1609960740190001@boston-pm1-dyn22.pcix.com>,
  434. paulba19@mail.idt.net (Paul Baxter) wrote:
  435.  
  436. > Hi,
  437. >    One approach would be to change the trap address of _Debugger and
  438. > _DebugStr to call your own routine using SetrapAddress (pretty sneaky!).
  439.  
  440. Nifty.  But nothing that does this will see disk space on *my* machine,
  441. unless your name is Steve Jasik.
  442.  
  443. terminally curious,
  444.  
  445. Ben
  446. ___________________________________________________________________
  447. Benjamin Trumbull
  448. trumbull@cs.yale.edu       
  449. Yale University 
  450.        You can't be in hell; you can still read your e-mail
  451.  
  452. +++++++++++++++++++++++++++
  453.  
  454. >From gillga@ilk.de (Peter W. Gillgasch)
  455. Date: Tue, 17 Sep 1996 17:40:44 +0200
  456. Organization: Organised ? Who ? Me ?
  457.  
  458. Ben Trumbull <trumbull@cs.yale.edu> wrote:
  459.  
  460. > Can't say I can contribute to the answer, but why ?  just why would you
  461. > ever want to do this ?  (seriously, my imagination must be limited)
  462.  
  463. Eh, copy protection ? Avoiding competitors to sneak into your code
  464. to check how you do your magic ?
  465.  
  466. My imagination is unlimited :-)
  467.  
  468. -- Peter
  469.  
  470. +++++++++++++++++++++++++++
  471.  
  472. >From awiner@oracle.com (Adam Winer)
  473. Date: Tue, 17 Sep 1996 21:52:38 -0800
  474. Organization: Oracle Corporation
  475.  
  476. In article <paulba19-1609960740190001@boston-pm1-dyn22.pcix.com>,
  477. paulba19@mail.idt.net (Paul Baxter) wrote:
  478.  
  479. > In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  480. > > Does anyone know how to prevent Macsbug from working in a program? I have
  481. > > seen this done (so that the interrupt switch just does nothing), and
  482. > > believe it has something to do with "interrupt vectors," but my
  483. > > understanding of these is low and so my capability to modify them is even
  484. > > less. A pointer to IM (didn't find it in a search) would be great, and if 
  485. > > anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  486. > > very much for your help!
  487. > > 
  488. > > David
  489. > Hi,
  490. >    One approach would be to change the trap address of _Debugger and
  491. > _DebugStr to call your own routine using SetrapAddress (pretty sneaky!).
  492.  
  493. AFAIK, this actually doesn't work.  I once tried writing
  494. up a hack that did just this.  It was a quick-hack OpenDoc part
  495. that patched DebugStr and displayed all the strings passed in - kinda
  496. neat, because adding an instance of the part would let you intercept
  497. all debug strings without breaking into MacsBug.  Unfortunately,
  498. MacsBug still got all the debug strings.  I didn't have enough
  499. time to look into this, so I never found out why it happens.
  500. Anyone know?
  501.  
  502. -- Adam Winer
  503. awiner@us.oracle.com
  504.  
  505. -- 
  506. Adam Winer
  507. awiner@us.oracle.com
  508. Technical Staff, Oracle Corp.
  509.  
  510. +++++++++++++++++++++++++++
  511.  
  512. >From SouthSide@kagi.com (Bob Bradley)
  513. Date: Tue, 17 Sep 1996 22:09:40 -0800
  514. Organization: SPC
  515.  
  516. In article <19960917174044162819@[194.121.104.137]>, gillga@ilk.de (Peter
  517. W. Gillgasch) wrote:
  518.  
  519. > Eh, copy protection ? Avoiding competitors to sneak into your code
  520. > to check how you do your magic ?
  521.  
  522. You might also try putting some communication code in as well so you call
  523. dial 911 during the 10 seconds it takes to get around the debugger
  524. disabling.
  525.  
  526. If code gets executed to disable the debugger, why would you think it'd be
  527. any harder to disable that as well?
  528.  
  529. Instead of wasting time on copy protection or attempting to hide code from
  530. competitors, spend that time on making the product better. Your users will
  531. thank you for it.
  532.  
  533. +++++++++++++++++++++++++++
  534.  
  535. >From samizdat@earthlink.net (Chris Kelly)
  536. Date: Tue, 17 Sep 1996 18:37:05 -0800
  537. Organization: Samizdat Productions
  538.  
  539. The following worked on my '040. I haven't tried these on other machines,
  540. because I gave up on the idea.
  541.  
  542. void DisableInterruptSwitch( void )
  543. {
  544.    asm {
  545.       BSET  #7,0xC2C
  546.    }
  547. }
  548.  
  549. void EnableInterruptSwitch( void )
  550. {
  551.    asm {
  552.       BCLR  #7,0xC2C
  553.    }
  554. }
  555.  
  556. In article <51iqrs$dov@interport.net>, david@interport.net (David) wrote:
  557.  
  558. > Does anyone know how to prevent Macsbug from working in a program? I have
  559. > seen this done (so that the interrupt switch just does nothing), and
  560. > believe it has something to do with "interrupt vectors," but my
  561. > understanding of these is low and so my capability to modify them is even
  562. > less. A pointer to IM (didn't find it in a search) would be great, and if 
  563. > anyone has one, a code snippet (Pascal or C) would be wonderful. Thanks
  564. > very much for your help!
  565. > David
  566.  
  567. +++++++++++++++++++++++++++
  568.  
  569. >From Manuel Veloso <veloso@apix.com>
  570. Date: 19 Sep 1996 00:58:03 GMT
  571. Organization: Active Paper, Inc.
  572.  
  573. In article <51iqrs$dov@interport.net> David, david@interport.net writes:
  574. >does anyone know how to prevent Macsbug from working in a program?
  575.  
  576. Well, there are a couple of things you can do:
  577.  
  578. * patch _debugger and friends
  579. * stuff an RTE into $7C, which is the exception vector
  580.   for the interrupt switch (interrupt level 7, NMI)
  581.  
  582. I think that the $7C/RTE also kills off _Debugger,
  583. but I'm not positive anymore.
  584.  
  585. The downside is that (1) this has to happen pretty early in your app, (2)
  586. in
  587. theory, it only applies to your application (I'm not sure if the exception
  588. vectors are swapped on a context switch). If the vectors aren't swapped,
  589. you
  590. could always fire off a VBL task that stomps on 7C every couple of
  591. seconds,
  592. but this'd slow down PowerMacs, which is bad (VBL's are still 68k, aren't
  593. they?).
  594.  
  595. Note: this is pretty skanky. Be sure to restore the value when your app
  596. exits (patch ExitToShell to make sure). Also, this' likely to irritate
  597. a whole bunch of folks, and who knows what happens if your app happens
  598. to crash.
  599. - ---------------------------------------
  600. Manny Veloso          Digital Plumber
  601. Active Paper, Inc.    http://www.apix.com
  602. - ---------------------------------------
  603. "xoff! xoff!"
  604.  
  605. +++++++++++++++++++++++++++
  606.  
  607. >From donlee@winternet.com (Donald Lee)
  608. Date: Sun, 22 Sep 1996 14:27:19 -0600
  609. Organization: StarNet Communications, Inc
  610.  
  611. In article <SouthSide-1709962209410001@bns.vip.best.com>,
  612. SouthSide@kagi.com (Bob Bradley) wrote:
  613.  
  614. > [some snippped...]
  615. > If code gets executed to disable the debugger, why would you think it'd be
  616. > any harder to disable that as well?
  617. > Instead of wasting time on copy protection or attempting to hide code from
  618. > competitors, spend that time on making the product better. Your users will
  619. > thank you for it.
  620.  
  621. If the whole point is to slow down the hackers, forget it.  It is
  622. always 10 times easier to figure out how a program works than it is to
  623. get it working in the first place.  That goes double for obfuscation.
  624.  
  625. Whatever effort you put into trying to disable the programmers switch
  626. will be repaid by the following dividends:
  627.  
  628.     1. You will have lots of fun debugging your code.  (Good luck!
  629.     If you do your job well, any debugger you use will stop working, right?)
  630.  
  631.     2. Apple will change the inner workings of the vectors and your
  632.     program will crash.  (for the customer of course, not for you)
  633.  
  634.     3. If you do manage to come up with a scheme that is somehow "supported"
  635.     it will be that much easier to get around it.
  636.  
  637.     4. You will spend a lot more time than you think ironing out your
  638.     bugs in the "debugger disable" code than you thought possible.
  639.  
  640.     5. The hackers, in the end, will laugh at you.  Anyone worth a damn
  641.     will find such code immediately and remove/disable it.
  642.  
  643. Such effort is a waste of time.  Period.  That's what copyrights and patents
  644. are for.
  645.  
  646. It would be different if you had a prayer of prevailing, or if the industry
  647. didn't experience complete revolution about every 18 months, but that's
  648. the way it is.
  649.  
  650. Make a better product.  Serve your customers.  Ignore the hackers.
  651. You only hurt your customers by being concerned with them.
  652.  
  653. -dgl-
  654.  
  655. +++++++++++++++++++++++++++
  656.  
  657. >From ackack@best.com (Daniel Jalkut)
  658. Date: 22 Sep 1996 12:35:15 -0700
  659. Organization: BEST Internet Communications
  660.  
  661. awiner@oracle.com (Adam Winer) writes:
  662.  
  663. >In article <paulba19-1609960740190001@boston-pm1-dyn22.pcix.com>,
  664. >paulba19@mail.idt.net (Paul Baxter) wrote:
  665.  
  666. (... initial post caption deleted ...)
  667.  
  668. >AFAIK, this actually doesn't work.  I once tried writing
  669. >up a hack that did just this.  It was a quick-hack OpenDoc part
  670. >that patched DebugStr and displayed all the strings passed in - kinda
  671. >neat, because adding an instance of the part would let you intercept
  672. >all debug strings without breaking into MacsBug.  Unfortunately,
  673. >MacsBug still got all the debug strings.  I didn't have enough
  674. >time to look into this, so I never found out why it happens.
  675. >Anyone know?
  676.  
  677. I don't know much about what happens between _A9FF and MacsBug taking
  678. over, but the idea of being able to patch them out doesn't make any sense
  679. to me since they are both _Unimplemented traps.  This means that if you 
  680. patch it you are replacing code that doesn't exist. I think there is a 
  681. spookier mechanism for getting into MacsBug, I'm not sure how it works.
  682.  
  683. The only useful thing I can think of for patching the Debugger calls is 
  684. to get rid of the annoying Unimplemented errors you get when you run
  685. DebugStr'd programmes on a machine without MacsBug installed.
  686.  
  687. >-- 
  688. >Adam Winer
  689. >awiner@us.oracle.com
  690. >Technical Staff, Oracle Corp.
  691.  
  692. =
  693. AckAck Software
  694. ackack@best.com
  695.  
  696. +++++++++++++++++++++++++++
  697.  
  698. >From Manuel Veloso <veloso@apix.com>
  699. Date: 25 Sep 1996 15:54:56 GMT
  700. Organization: Active Paper, Inc.
  701.  
  702. In article <donlee-2209961427190001@witsend.winternet.com> Donald Lee,
  703. donlee@winternet.com writes:
  704. >If the whole point is to slow down the hackers, forget it.  It is
  705. >always 10 times easier to figure out how a program works than it is to
  706. >get it working in the first place.  That goes double for obfuscation.
  707.  
  708. It depends on the market. For horizontal stuff, you probably don't want
  709. to do anything heavy, mainly because it's horizontal. For vertical stuff,
  710. protection is actually almost necessary, since few companies would pop
  711. for 15 copies of your $10,000 easy-to-use vertical app w/o incentive.
  712.  
  713. >Whatever effort you put into trying to disable the programmers switch
  714. >will be repaid by the following dividends:
  715. >
  716. >    1. You will have lots of fun debugging your code.  (Good luck!
  717. >    If you do your job well, any debugger you use will stop working, right?)
  718.  
  719. Actually, it won't. If this happens, then you've done something stupid.
  720. Code to wipe the exception vector is actually pretty simple...it's not
  721. like you're doing self-modifying code.
  722.  
  723. >    2. Apple will change the inner workings of the vectors and your
  724. >    program will crash.  (for the customer of course, not for you)
  725.  
  726. These are 68K hardware vectors. While they're simulated on the PPC, it's
  727. highly doubtful that they'll change in the near (or far) future.
  728.  
  729. >    3. If you do manage to come up with a scheme that is somehow "supported"
  730. >    it will be that much easier to get around it.
  731.  
  732. Well actually, no.
  733.  
  734. >    4. You will spend a lot more time than you think ironing out your
  735. >    bugs in the "debugger disable" code than you thought possible.
  736.  
  737. This stuff is fun. I'd say it'd take around 25 minutes to see if the hack
  738. worked, and 2 more days solidifying it.
  739.  
  740. >    5. The hackers, in the end, will laugh at you.  Anyone worth a damn
  741. >    will find such code immediately and remove/disable it.
  742.  
  743. You have no idea what you're talking about, do you. Two things you can do
  744. to make life harder for people who want to hack are:
  745.  
  746. 1) stick the code away from "landmarks", like a trap call, etc. This means
  747.    that the VBL should launch before InitGraf, and there should be a
  748. couple
  749.    of places where you make sure the VBL is running. Inline the code, so
  750.    you can't hack just one routine.
  751. 2) compile for PowerMacs (which you should do anyway). PPC code is harder
  752.    to read, and a lot more work to slog through.
  753.  
  754. >Such effort is a waste of time.  Period.  That's what copyrights and patents
  755. >are for.
  756.  
  757. It depends on how much you have to lose. Remember, horizontal markets are
  758. different from vertical markets. Plus, finding and prosecuting
  759. copyright/patent violators, if you're small, isn't really an option.
  760.  
  761. >It would be different if you had a prayer of prevailing, or if the industry
  762. >didn't experience complete revolution about every 18 months, but that's
  763. >the way it is.
  764.  
  765. Uh-huh. So why bother going into software at all, then? Heck, become a
  766. lawyer
  767. instead.
  768. - ---------------------------------------
  769. Manny Veloso          Digital Plumber
  770. Active Paper, Inc.    http://www.apix.com
  771. - ---------------------------------------
  772. "xcoff! xcoff!"
  773.  
  774. ---------------------------
  775.  
  776. >From han@lava.net (Byron Han)
  777. Subject: Drag Manager questions
  778. Date: 23 Sep 1996 15:46:32 -1000
  779. Organization: LavaNet, Inc.
  780.  
  781. I am trying to add Drag Manager support to an application that
  782. I am working on.  I would like to add the ability to accept
  783. HFSFlavor's but I noticed in the documentation and assorted
  784. sample code that (a) layer switching is disabled and (b) sending
  785. AppleEvents with kAEWaitReply is not allowed (kAENoReply is ok)
  786.  
  787. Would it be appropriate for me to take the (set of) HFSFlavor(s)
  788. in my receive procedure, queue them up for later processing,
  789. bring myself to the foreground, and then continue processing?
  790. The reason is that some types of HFSFlavor's will involve bringing
  791. up modal dialogs and other assorted user interaction.
  792.  
  793. Thanks in advance.
  794. -- 
  795. Byron Han  *  <http://www.hanchenson.com/~han>  *  <mailto:han@hanchenson.com>
  796. Han Chen & Son - MacOS Software Development * PO Box 61557 * Honolulu HI 96839
  797. "Windows 95 - Can't Get No Satisfaction"
  798.  
  799. +++++++++++++++++++++++++++
  800.  
  801. >From dunham@pensee.com (David Dunham)
  802. Date: 25 Sep 1996 05:37:59 GMT
  803. Organization: Pensee Corporation
  804.  
  805. In article <527eho$va@malasada.lava.net>, han@lava.net (Byron Han) wrote:
  806.  
  807. > Would it be appropriate for me to take the (set of) HFSFlavor(s)
  808. > in my receive procedure, queue them up for later processing,
  809. > bring myself to the foreground, and then continue processing?
  810. > The reason is that some types of HFSFlavor's will involve bringing
  811. > up modal dialogs and other assorted user interaction.
  812.  
  813. That's what I did in Newton Press. (It looks like ClarisWorks manages not
  814. to do this, however.)
  815.  
  816. David Dunham   Pensee Corporation   dunham@pensee.com
  817. Voice/Fax: 206 783 7404             http://www.pensee.com/dunham/
  818.     "I say we should listen to the customers and give them what they want."
  819.     "What they want is better products for free." --Scott Adams
  820.  
  821. +++++++++++++++++++++++++++
  822.  
  823. >From dunham@pensee.com (David Dunham)
  824. Date: 25 Sep 1996 05:37:59 GMT
  825. Organization: Pensee Corporation
  826.  
  827. In article <527eho$va@malasada.lava.net>, han@lava.net (Byron Han) wrote:
  828.  
  829. > Would it be appropriate for me to take the (set of) HFSFlavor(s)
  830. > in my receive procedure, queue them up for later processing,
  831. > bring myself to the foreground, and then continue processing?
  832. > The reason is that some types of HFSFlavor's will involve bringing
  833. > up modal dialogs and other assorted user interaction.
  834.  
  835. That's what I did in Newton Press. (It looks like ClarisWorks manages not
  836. to do this, however.)
  837.  
  838. David Dunham   Pensee Corporation   dunham@pensee.com
  839. Voice/Fax: 206 783 7404             http://www.pensee.com/dunham/
  840.     "I say we should listen to the customers and give them what they want."
  841.     "What they want is better products for free." --Scott Adams
  842.  
  843. ---------------------------
  844.  
  845. >From mcdan@umich.edu (Todd McDaniel)
  846. Subject: Error in Technote 1069 confirmed
  847. Date: Wed, 25 Sep 1996 16:38:13 -0400
  848. Organization: University of Michigan
  849.  
  850. There is an error in technote 1069, describing System Update 7.5.5. The
  851. technote states that the Gestalt 'sysu' value, denoting the System Update
  852. version, for System Update 7.5.5 would be 0x02058000. This is incorrect.
  853. The value is in fact 0x02068000 (note 206, *not* 205). The author of the
  854. note, Brian Bechtel, has confirmed this is the case and will be correcting
  855. the document soon.
  856.  
  857. I'd like to thank those of you that confirmed what I found, and Brian for
  858. getting back to me as quick as he did.
  859.  
  860. -todd mcdaniel
  861.  
  862. -- 
  863. _______________________________________________________________________________
  864. |[O]***************** Once you go Mac, You never go back! *****************[@]*|
  865. |==============================================================================|
  866. |    Name                     Size Kind           Label        Last Modified |^|
  867. | D  scooter@ic.net            4K  Address Doc... Primary      Fri, May 5, 19|-|
  868. | D  mcdan@umich.edu           4K  Address Doc... Secondary    Wed, Aug 9, 19| |
  869. | *  http://ic.net/~scooter    4K  URL Documen... Home Page    Tue, Jun 6, 19| |
  870. | X  Have Fun, Stay Single    23K  Slogan Docu... Way of Life  Fri, May 24, 1|_|
  871. |____________________________________________________________________________|v|
  872. |<|[E]====================================================================|>|[@]
  873. - ------------------------------------------------------------------------------
  874.  
  875. ---------------------------
  876.  
  877. >From bpettit@aimnet.com (Brad Pettit)
  878. Subject: Font Editor
  879. Date: Tue, 24 Sep 1996 14:35:13 -0700
  880. Organization: Apple Computer
  881.  
  882. What are the current options for editing bitmap fonts on the Mac. I have a
  883. TrueType font that I created, but its bitmaps require some tweaking beyond
  884. ResEdit capabilities.
  885.  
  886. Also, do any font editors create/edit fonts with depths greater than 1 bit?
  887.  
  888. --Brad
  889.  
  890. +++++++++++++++++++++++++++
  891.  
  892. >From alex@metcalf.demon.co.uk (Alex Metcalf)
  893. Date: Wed, 25 Sep 1996 09:18:41 GMT
  894. Organization: (none)
  895.  
  896. In article <bpettit-2409961435130001@delala.apple.com>, bpettit@aimnet.com
  897. (Brad Pettit) wrote:
  898.  
  899. > What are the current options for editing bitmap fonts on the Mac. I have a
  900. > TrueType font that I created, but its bitmaps require some tweaking beyond
  901. > ResEdit capabilities.
  902. > Also, do any font editors create/edit fonts with depths greater than 1 bit?
  903.  
  904.      Font editing was a really big thing several years ago, and there were
  905. several programs around which did what you want (at least, with Type 1
  906. fonts as they were). However, I haven't heard anything about font editors
  907. for ages, so I don't know what's available. One program name I do remember
  908. is "Fontographer"; try asking on csm.graphics.
  909.  
  910.  
  911.  
  912.  
  913.      Alex
  914.  
  915. --
  916. Alex Metcalf
  917. alex@metcalf.demon.co.uk
  918.  
  919. +++++++++++++++++++++++++++
  920.  
  921. >From bpettit@aimnet.com (Brad Pettit)
  922. Date: Wed, 25 Sep 1996 12:05:44 -0700
  923. Organization: Apple Computer
  924.  
  925. In article <alex-2509961021340001@metcalf.demon.co.uk>,
  926. alex@metcalf.demon.co.uk (Alex Metcalf) wrote:
  927.  
  928. > In article <bpettit-2409961435130001@delala.apple.com>, bpettit@aimnet.com
  929. > (Brad Pettit) wrote:
  930. > > What are the current options for editing bitmap fonts on the Mac. I have a
  931. > > TrueType font that I created, but its bitmaps require some tweaking beyond
  932. > > ResEdit capabilities.
  933. > > 
  934. > > Also, do any font editors create/edit fonts with depths greater than 1 bit?
  935. >      Font editing was a really big thing several years ago, and there were
  936. > several programs around which did what you want (at least, with Type 1
  937. > fonts as they were). However, I haven't heard anything about font editors
  938. > for ages, so I don't know what's available. One program name I do remember
  939. > is "Fontographer"; try asking on csm.graphics.
  940. >      Alex
  941. > --
  942. > Alex Metcalf
  943. > alex@metcalf.demon.co.uk
  944.  
  945. I have Fontographer, however, that only edits the outline font. I need
  946. something to tweak the bitmap. Fontographer does a lousy job at creating
  947. small bitmap versions. Thanks for the csm.graphics referral.
  948.  
  949. --Brad
  950.  
  951. ---------------------------
  952.  
  953. >From billv@Eng.Sun.COM (Bill Vaughan)
  954. Subject: How to do scripting on a Mac?
  955. Date: 24 Sep 1996 21:14:48 GMT
  956. Organization: Sun Microsystems Inc.
  957.  
  958.  
  959. I need a way to do Unix-like shell scripting on the Mac to set environment variables and run tools/apps without having to go through the GUI. (No, I'm not one of those Unix/DOS Neandrathals who walks around grunting, "Me, I REAL man, I use command line interface. GUI for sissies.") I am setting up a test harness which needs to work on multi-platforms. I've considered AppleScript, but the problem is that some of the tools/apps I will be working with are not AppleScript Aware. Any suggestions would be greatly appreciated.
  960.  
  961. Thanks,
  962.  
  963. Bill
  964.  
  965.  
  966. +++++++++++++++++++++++++++
  967.  
  968. >From rgacote@apsol.com (Raymond Cote)
  969. Date: Wed, 25 Sep 1996 08:21:56 GMT
  970. Organization: Appropriate Solutions, Inc.
  971.  
  972. In article <529j08$7c0@engnews2.Eng.Sun.COM>, billv@Eng.Sun.COM wrote:
  973.  
  974. > I need a way to do Unix-like shell scripting on the Mac to set
  975. environment variables and run tools/apps without having to go through the
  976. GUI. (No, I'm not one of those Unix/DOS Neandrathals who walks around
  977. grunting, "Me, I REAL man, I use command line interface. GUI for
  978. sissies.") I am setting up a test harness which needs to work on
  979. multi-platforms. I've considered AppleScript, but the problem is that some
  980. of the tools/apps I will be working with are not AppleScript Aware. Any
  981. suggestions would be greatly appreciated.
  982. > Thanks,
  983. > Bill
  984.  
  985. Bill,
  986.   Have you looked at MPW? A bit cryptic (I'm saying that to a Unix guy?)
  987. but powerful with looping, environment variables, ability to launch
  988. applications, run shell-level applications, etc. You don't state whether
  989. or not the applications you're testing are a portable test suite or Mac
  990. specific. If these are Unix tools you're running on the Mac, MPW might be
  991. a good solution for you. 
  992. Ray
  993. -- 
  994. Raymond Cote -- rgacote@apsol.com  --  Appropriate Solutions, Inc.
  995.  
  996. +++++++++++++++++++++++++++
  997.  
  998. >From Rudi Angela <rudi_angela@informaat.nl>
  999. Date: 25 Sep 1996 07:29:40 GMT
  1000. Organization: Informaat B.V.
  1001.  
  1002. If it's for testing applications you can use Apple's 'Virtual User'. VU 
  1003. lets you control several Macs from one master machine by emulating a 
  1004. user. This also works with non-scriptable apps, as long as they have 
  1005. some user interface.
  1006.  
  1007. Rudi Angela
  1008.  
  1009. ---------------------------
  1010.  
  1011. >From kevinr@pcdocs.com (Kevin Redden)
  1012. Subject: MacODBC & CFM68K
  1013. Date: Tue, 24 Sep 1996 10:05:24 -0400
  1014. Organization: PC Docs, Inc.
  1015.  
  1016. I'm looking for some developers using or thinking of using Visigenics MacODBC.  
  1017.  
  1018. I have been trying to get them to support CFM 68K instead of ASLM for
  1019. quite some time now.  I mentioned to them that since they already support
  1020. PowerPC CFM that it shouldn't be more than a few days work at worst to
  1021. port to CFM 68K and they agreed that it was not a big engineering issue. 
  1022. Their Mac engineering manager still doesn't want to do it because he
  1023. claims that there have been *NO* requests for it.  Given that I made a
  1024. public specific request directly to him at the last WWDC in one of the
  1025. database sessions I find this hard to believe!  The audience burst out
  1026. into applause when I asked the question and I would take that as being
  1027. worth a couple more requests at least...
  1028.  
  1029. The reason for this post is that I would like to get a list of developers
  1030. that would like to see this so I can send Visigenics the list of names. 
  1031. Please let me know if you are already registered with them or if you have
  1032. put off support waiting for CFM 68K.
  1033.  
  1034. Please send me e-mail directly (kevinr@pcdocs.com) instead of replying to
  1035. the list.
  1036.  
  1037. Thanks,
  1038. Kevin
  1039.  
  1040. +++++++++++++++++++++++++++
  1041.  
  1042. >From pteeson@astral.magic.ca (Peter Teeson)
  1043. Date: Wed, 25 Sep 1996 06:10:09 -0700
  1044. Organization: General Consulting & Research Inc.
  1045.  
  1046. In article <kevinr-2409961005390001@199.44.115.125>, kevinr@pcdocs.com
  1047. (Kevin Redden) wrote:
  1048.  
  1049.  
  1050. > Please send me e-mail directly (kevinr@pcdocs.com) instead of replying to
  1051. > the list.
  1052.  
  1053.  
  1054. I have sent you a detailed email about our request for it last year.
  1055.  
  1056. Peter
  1057.  
  1058. -- 
  1059. Peter Teeson
  1060. General Consulting & Research Inc.
  1061. 712 - 24 Forest Manor Road
  1062. Willowdale, ON
  1063. M2J 1M3
  1064.  
  1065. +++++++++++++++++++++++++++
  1066.  
  1067. >From vlod@wingz.com (vlod kalicun)
  1068. Date: Wed, 25 Sep 1996 18:08:49 +0000
  1069. Organization: I.I.S.C.
  1070.  
  1071. In article <kevinr-2409961005390001@199.44.115.125>, kevinr@pcdocs.com
  1072. (Kevin Redden) wrote:
  1073.  
  1074.  
  1075. >The reason for this post is that I would like to get a list of developers
  1076. >that would like to see this so I can send Visigenics the list of names. 
  1077. >Please let me know if you are already registered with them or if you have
  1078. >put off support waiting for CFM 68K.
  1079.  
  1080. sorry i forgot to mention, that we are already registered with them.
  1081.  
  1082. *********************************************************************
  1083. *        Vlod Kalicun            | Wingz/HyperScript Tools Dev.Team *
  1084. *"A disaster waiting to happen!" | Investment Inteligience Sys Corp.*
  1085. *       vlod@wingz.com           | London, England. www.wingz.com   *
  1086. *********************************************************************
  1087.  
  1088. +++++++++++++++++++++++++++
  1089.  
  1090. >From vlod@wingz.com (vlod kalicun)
  1091. Date: Wed, 25 Sep 1996 18:08:49 +0000
  1092. Organization: I.I.S.C.
  1093.  
  1094. In article <kevinr-2409961005390001@199.44.115.125>, kevinr@pcdocs.com
  1095. (Kevin Redden) wrote:
  1096.  
  1097.  
  1098. >The reason for this post is that I would like to get a list of developers
  1099. >that would like to see this so I can send Visigenics the list of names. 
  1100. >Please let me know if you are already registered with them or if you have
  1101. >put off support waiting for CFM 68K.
  1102.  
  1103. sorry i forgot to mention, that we are already registered with them.
  1104.  
  1105. *********************************************************************
  1106. *        Vlod Kalicun            | Wingz/HyperScript Tools Dev.Team *
  1107. *"A disaster waiting to happen!" | Investment Inteligience Sys Corp.*
  1108. *       vlod@wingz.com           | London, England. www.wingz.com   *
  1109. *********************************************************************
  1110.  
  1111. ---------------------------
  1112.  
  1113. >From danash@students.wisc.edu (Daniel Nash)
  1114. Subject: MacOS 8 suggestion (Re: Disk space efficiency)
  1115. Date: Wed, 18 Sep 1996 00:59:31 -0600
  1116. Organization: University of Wisconsin, Madison
  1117.  
  1118. In article <erkyrathDxwx0B.3s3@netcom.com>, erkyrath@netcom.com (Andrew
  1119. Plotkin) wrote:
  1120.  
  1121. :  Lars Farm (lars.farm@ite.mh.se) wrote:
  1122. :  > The suggestion to use partitions is no cure for the problem unless you
  1123. :  > completely fill the partition, which is unrealistic. 
  1124.  
  1125. :  Well, the problem isn't a *problem* unless you completely fill your hard 
  1126. :  drive. :-) (Wasted space isn't a problem if you still have some left, 
  1127. :  right?) 
  1128.  
  1129. :  The more intuitive statement of the problem is that each partition is
  1130. :  limited to 65536 files. (This isn't exactly equivalent to the 
  1131. :  minimum-block-size constraint, but I believe it is the actual system 
  1132. :  limitation that caused the minimum-block-size constraint to be 
  1133. :  implemented.) Partitioning obviously does help this.
  1134.  
  1135. :  > The free space of
  1136. :  > an artificial partition is also unusable waste.
  1137.  
  1138. :  Not if you've already divided up your hard drive into several 
  1139. :  large folders, of which you can move a subset to the new partition.
  1140.  
  1141. :  Keeping track of this is a pain in the butt, and we shouldn't have to do
  1142. :  it. Absolutely. Unfortunately, releasing a new file system is a pain in
  1143. :  its own set of butts. 
  1144.  
  1145. Well, a nice feature to have in MacOS 8 (I know it's probably a bit late
  1146. for changes now) would be to have the ability to mount volumes as a folder
  1147. on another volume, as in most UNIXes.  That way, you could set up your
  1148. partition, and then place them all into one desktop 'drive' icon.  I hope
  1149. someone form Apple is listening.
  1150.  
  1151.  - Daniel Nash
  1152.  
  1153. +++++++++++++++++++++++++++
  1154.  
  1155. >From Laurent Pointal <pointal@lure.u-psud.fr>
  1156. Date: Tue, 24 Sep 1996 13:28:29 +0200
  1157. Organization: CNRS - LURE
  1158.  
  1159. Daniel Nash wrote:
  1160. [STUFF DELETED]
  1161. > Well, a nice feature to have in MacOS 8 (I know it's probably a bit late
  1162. > for changes now) would be to have the ability to mount volumes as a folder
  1163. > on another volume, as in most UNIXes.  That way, you could set up your
  1164. > partition, and then place them all into one desktop 'drive' icon.  I hope
  1165. > someone form Apple is listening.
  1166. >  - Daniel Nash
  1167.  
  1168. ? Cant an alias of a partition (volume) do the same thing ?
  1169. The difference: its just mounted when accessed and not a boot time/mount
  1170. command.
  1171.  
  1172.  
  1173. -- 
  1174. - ---------------------------------------------------------------------
  1175. Laurent POINTAL
  1176. CNRS/CEA/MEN - LURE - Service Informatique Experiences
  1177. - ---------------------------------------------------------------------
  1178. Adresse: LURE - Batiment 209C - Universite Paris XI - 91405 Orsay Cedex
  1179. Tel    : 64 46 82 80                            Fax : 64 46 41 48
  1180. email  : pointal@lure.u-psud.fr (boulot)   lpointal@planete.net (perso)
  1181. - ---------------------------------------------------------------------
  1182.  
  1183. +++++++++++++++++++++++++++
  1184.  
  1185. >From danash@students.wisc.edu (Daniel Nash)
  1186. Date: Wed, 25 Sep 1996 02:44:14 -0600
  1187. Organization: University of Wisconsin, Madison
  1188.  
  1189. In article <3247C5DD.4B90@lure.u-psud.fr>, pointal@lure.u-psud.fr wrote:
  1190.  
  1191. :  Daniel Nash wrote:
  1192. :  [STUFF DELETED]
  1193. :  > Well, a nice feature to have in MacOS 8 (I know it's probably a bit late
  1194. :  > for changes now) would be to have the ability to mount volumes as a folder
  1195. :  > on another volume, as in most UNIXes.  That way, you could set up your
  1196. :  > partition, and then place them all into one desktop 'drive' icon.  I hope
  1197. :  > someone form Apple is listening.
  1198.  
  1199. :  >  - Daniel Nash
  1200.  
  1201. :  ? Cant an alias of a partition (volume) do the same thing ?
  1202. :  The difference: its just mounted when accessed and not a boot time/mount
  1203. :  command.
  1204.  
  1205. Yeah, you're right, that's a pretty simple solution.  I would like to get
  1206. rid of some desktop clutter, though.  (i.e. I go insane with 8 or 9 HD
  1207. partitions)
  1208.  
  1209.  - Daniel Nash
  1210.  
  1211. ---------------------------
  1212.  
  1213. >From Axel Rauschmayer <rauschma@informatik.uni-muenchen.de>
  1214. Subject: OpenDoc for Linux?
  1215. Date: Fri, 13 Sep 1996 16:54:17 +0200
  1216. Organization: Institut fuer Informatik der Universitaet Muenchen
  1217.  
  1218. Now that the Mac-community finally gets Linux: Is there an OpenDoc for
  1219. Linux? As IBM is already working on a Unix port (AIX), a Linux version
  1220. shouldn't be too had to do.
  1221.  
  1222. IMHO such a port could be beneficial for both sides: The OpenDoc community
  1223. would gain good developers and OpenDoc would even become more interesting
  1224. as more platforms are supported (also: isn't Micros*ft doing a Unix port
  1225. of ActiveX?). And Linux gains a component architecture and potentially
  1226. drag & drop and a clipboard (one of the biggest drawbacks when comparing
  1227. it to the MacOS).
  1228.  
  1229. Comments, hints, suggestions? Please reply by email, too.
  1230.  
  1231. Thanks,
  1232.  
  1233. Axel
  1234.  
  1235. - ----------------------------------------------------------------------
  1236. Axel Rauschmayer   mailto:rauschma@informatik.uni-muenchen.de    \ | /
  1237.                    http://www.lrz-muenchen.de/~ug201cz/www/       0 0
  1238. - --------------------------------------------------------------w--U--w-
  1239.  
  1240.  
  1241. +++++++++++++++++++++++++++
  1242.  
  1243. >From danash@students.wisc.edu (Daniel Nash)
  1244. Date: Sat, 14 Sep 1996 01:05:01 -0600
  1245. Organization: University of Wisconsin, Madison
  1246.  
  1247. In article
  1248. <Pine.HPP.3.95.960913164723.1105A-100000@chanten.cip.informatik.uni-muenchen.
  1249. de>, Axel Rauschmayer <rauschma@informatik.uni-muenchen.de> wrote:
  1250.  
  1251. :  Now that the Mac-community finally gets Linux: Is there an OpenDoc for
  1252. :  Linux? As IBM is already working on a Unix port (AIX), a Linux version
  1253. :  shouldn't be too had to do.
  1254. :  
  1255. :  IMHO such a port could be beneficial for both sides: The OpenDoc community
  1256. :  would gain good developers and OpenDoc would even become more interesting
  1257. :  as more platforms are supported (also: isn't Micros*ft doing a Unix port
  1258. :  of ActiveX?). And Linux gains a component architecture and potentially
  1259. :  drag & drop and a clipboard (one of the biggest drawbacks when comparing
  1260. :  it to the MacOS).
  1261. :  
  1262. :  Comments, hints, suggestions? Please reply by email, too.
  1263.  
  1264. I think that's a great idea.  There are a lot of developers in the Linux
  1265. community.  By gaining supporters for OpenDoc for Linux, they would
  1266. probably also get a large number of developers who would write a part or
  1267. part editor for Linux, and then port it to a number of other platforms.  A
  1268. move like this would be extremely beneficial to the OpenDoc community.  I
  1269. hope they're listening.
  1270.  
  1271.  - Daniel Nash
  1272.  
  1273. +++++++++++++++++++++++++++
  1274.  
  1275. >From vlod@wingz.com (vlod kalicun)
  1276. Date: Fri, 20 Sep 1996 15:12:30 +0000
  1277. Organization: I.I.S.C.
  1278.  
  1279. In article
  1280. <Pine.HPP.3.95.960913164723.1105A-100000@chanten.cip.informatik.uni-muenchen.de>,
  1281. Axel Rauschmayer <rauschma@informatik.uni-muenchen.de> wrote:
  1282.  
  1283. >Now that the Mac-community finally gets Linux: Is there an OpenDoc for
  1284. >Linux? As IBM is already working on a Unix port (AIX), a Linux version
  1285. >shouldn't be too had to do.
  1286.  
  1287. IBM actually demo Opendoc for AIX at apple-expo boston. It looked quit
  1288. smokey.
  1289.  
  1290. -vlod
  1291.  
  1292. *********************************************************************
  1293. *        Vlod Kalicun            | Wingz/HyperScript Tools Dev.Team *
  1294. *"A disaster waiting to happen!" | Investment Inteligience Sys Corp.*
  1295. *       vlod@wingz.com           | London, England. www.wingz.com   *
  1296. *********************************************************************
  1297.  
  1298. +++++++++++++++++++++++++++
  1299.  
  1300. >From "John W. Baxter" <jwbaxter@olympus.net>
  1301. Date: Sat, 21 Sep 1996 10:12:03 -0700
  1302. Organization: Internet for the Olympic Peninsula
  1303.  
  1304. vlod kalicun wrote:
  1305. > IBM actually demo Opendoc for AIX at apple-expo boston. It looked quit
  1306. > smokey.
  1307.  
  1308. Sorry...I'm too old, I guess.  Is "smokey" good or bad this week?
  1309.  
  1310. --
  1311. John W. Baxter    jwbaxter@olympus.net
  1312.      The primary cause of problems is solutions.
  1313. Port Ludlow, WA, USA  (Thank you, USWest!)
  1314.  
  1315. +++++++++++++++++++++++++++
  1316.  
  1317. >From jude@smellycat.com (Jude Giampaolo)
  1318. Date: Sat, 21 Sep 1996 15:27:41 -0400
  1319. Organization: CyberDrugs
  1320.  
  1321. In article <324421E0.307C@olympus.net>, jwbaxter@olympus.net wrote:
  1322.  
  1323. > vlod kalicun wrote:
  1324. > > IBM actually demo Opendoc for AIX at apple-expo boston. It looked quit
  1325. > > smokey.
  1326. > Sorry...I'm too old, I guess.  Is "smokey" good or bad this week?
  1327.  
  1328. Maybe the machine caught on fire?
  1329.  
  1330. -- 
  1331. Jude Charles Giampaolo         'There's not much to see actually,
  1332. jcg8@po.cwru.edu                we're inside a Chinese dragon...' 
  1333. jude@smellycat.com      http://prozac.cwru.edu/jude/JudeHome.html
  1334. Mac NFS serevr:   http://prozac.cwru.edu/jude/macnfs/Macnfsd.html
  1335.  
  1336. +++++++++++++++++++++++++++
  1337.  
  1338. >From "John W. Baxter" <jwbaxter@olympus.net>
  1339. Date: Sat, 21 Sep 1996 10:12:03 -0700
  1340. Organization: Internet for the Olympic Peninsula
  1341.  
  1342. Reposting article removed by rogue canceller.
  1343.  
  1344. vlod kalicun wrote:
  1345. > IBM actually demo Opendoc for AIX at apple-expo boston. It looked quit
  1346. > smokey.
  1347.  
  1348. Sorry...I'm too old, I guess.  Is "smokey" good or bad this week?
  1349.  
  1350. --
  1351. John W. Baxter    jwbaxter@olympus.net
  1352.      The primary cause of problems is solutions.
  1353. Port Ludlow, WA, USA  (Thank you, USWest!)
  1354.  
  1355. +++++++++++++++++++++++++++
  1356.  
  1357. >From jude@smellycat.com (Jude Giampaolo)
  1358. Date: Sat, 21 Sep 1996 15:27:41 -0400
  1359. Organization: CyberDrugs
  1360.  
  1361. Reposting article removed by rogue canceller.
  1362.  
  1363. In article <324421E0.307C@olympus.net>, jwbaxter@olympus.net wrote:
  1364.  
  1365. > vlod kalicun wrote:
  1366. > > IBM actually demo Opendoc for AIX at apple-expo boston. It looked quit
  1367. > > smokey.
  1368. > Sorry...I'm too old, I guess.  Is "smokey" good or bad this week?
  1369.  
  1370. Maybe the machine caught on fire?
  1371.  
  1372. -- 
  1373. Jude Charles Giampaolo         'There's not much to see actually,
  1374. jcg8@po.cwru.edu                we're inside a Chinese dragon...' 
  1375. jude@smellycat.com      http://prozac.cwru.edu/jude/JudeHome.html
  1376. Mac NFS serevr:   http://prozac.cwru.edu/jude/macnfs/Macnfsd.html
  1377.  
  1378. +++++++++++++++++++++++++++
  1379.  
  1380. >From vlod@wingz.com (vlod kalicun)
  1381. Date: Wed, 25 Sep 1996 18:02:03 +0000
  1382. Organization: I.I.S.C.
  1383.  
  1384. In article <R.324421E0.307C@olympus.net>, jwbaxter@olympus.net wrote:
  1385.  
  1386. >Reposting article removed by rogue canceller.
  1387. >
  1388. >vlod kalicun wrote:
  1389. >> IBM actually demo Opendoc for AIX at apple-expo boston. It looked quit
  1390. >> smokey.
  1391. >
  1392. >Sorry...I'm too old, I guess.  Is "smokey" good or bad this week?
  1393. >
  1394. >--
  1395. >John W. Baxter    jwbaxter@olympus.net
  1396. >     The primary cause of problems is solutions.
  1397. >Port Ludlow, WA, USA  (Thank you, USWest!)
  1398.  
  1399. Sorry,
  1400. Its means 'good' and impressive.
  1401. I guess its the british sense of humour!
  1402.  
  1403. -vlod
  1404.  
  1405. *********************************************************************
  1406. *        Vlod Kalicun            | Wingz/HyperScript Tools Dev.Team *
  1407. *"A disaster waiting to happen!" | Investment Inteligience Sys Corp.*
  1408. *       vlod@wingz.com           | London, England. www.wingz.com   *
  1409. *********************************************************************
  1410.  
  1411. ---------------------------
  1412.  
  1413. >From Yury Peskin <ypeskin@vendorsystems.com>
  1414. Subject: Renaming Files
  1415. Date: Tue, 24 Sep 1996 12:36:58 -0500
  1416. Organization: Vendor Systems International, Inc.
  1417.  
  1418. Hello all,
  1419.  
  1420. I was wandering (and hoping) that someone may have a utility to convert
  1421. file names from lower to upper case. The problem is that we have a 
  1422. folder with 3,000 files in it and we need to convert them all to
  1423. uppercase names.  Does any one have such a tool?
  1424.  
  1425. Thanks in advance,
  1426.  
  1427. Yury P.
  1428.  
  1429. +++++++++++++++++++++++++++
  1430.  
  1431. >From Online@MacTech.com ( nick.c @MT )
  1432. Date: Wed, 25 Sep 1996 12:55:19 -0800
  1433. Organization: MacTech Magazine
  1434.  
  1435.  
  1436.  
  1437. <ypeskin@vendorsystems.com> wrote:
  1438.  
  1439. >I was wandering (and hoping) that someone may have a utility to convert
  1440. >file names from lower to upper case. The problem is that we have a 
  1441. >folder with 3,000 files in it and we need to convert them all to
  1442. >uppercase names.  Does any one have such a tool?
  1443.  
  1444.  
  1445.  
  1446.    Jason Townsend wrote a shareware program called "Guillotine" that
  1447.      (by default) changes the file name of files dropped onto it
  1448.      to all lower case.  If you hold down the command key when
  1449.      you drop them, they're converted to all uppercase.  Here's
  1450.      a link to a copy of Guillotine.  Luck,
  1451.  
  1452. <ftp://mirrors.aol.com//pub/info-mac/_Disk_%26_File/guillotine-10a3.hqx>
  1453.  
  1454.  
  1455.